//
//  BlockController.h
//  CommonProject
//
//  Created by 郝旭珊 on 2018/1/4.
//  Copyright © 2018年 郝旭珊. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^blockName)(NSString *text);

@interface BlockController : UIViewController

@property (nonatomic, copy) void(^passSearchText)(NSString *text);


//定义 block 属性
@property (nonatomic, copy) void (^passText)(NSString *text);

//用 typedef 定义 block 属性
@property (nonatomic, copy) blockName blockControllerBlock;

@end


@interface EditView: UIView
@property (nonatomic, copy) void (^textChangeAction)(NSString *text);
@end
